/* eslint-disable prettier/prettier */
import { Module } from '@nestjs/common';
import { AppController } from './app.controller';
import { AppService } from './app.service';
import { CatsModule } from './cats/cats.module';
import { MongooseModule } from '@nestjs/mongoose';
import { DogsModule } from './dogs/dogs.module';
import { UsersModule } from './users/users.module';
import { DoctorsModule } from './doctors/doctors.module';
import { CommitsModule } from './commits/commits.module';
import { AlipayModule } from './alipay/alipay.modules';
import { KnowledgeModule } from './knowledge/knowledge.module';
import { OrderModule } from './order/order.module';
import { WebsocketModule } from './websocket/websocket.module';
import { UploadModule } from './upload/upload.module';

@Module({
  imports: [MongooseModule.forRoot('mongodb://patient:2402a@39.105.102.142/patient'), CatsModule, DogsModule, UsersModule, DoctorsModule, CommitsModule,AlipayModule, KnowledgeModule, OrderModule, WebsocketModule, UploadModule],

  // 本地测试
  // imports: [MongooseModule.forRoot('mongodb://127.0.0.1/youlai'), CatsModule, DogsModule, UsersModule],
  controllers: [AppController],
  providers: [AppService],
})
export class AppModule { }